<?php defined('_JEXEC') or die('Restricted access');
/**
 * @version      1.0.15.1 qcalc $
 * @package      qcalc
 * @copyright   Copyright © 2012 - All rights reserved.
 * @author      Alexander Snitko
 * @author mail   a.lottis@gmail.com
 */
$user =& JFactory::getUser();
if($user->guest == 0) $kabinet = "private";
else $kabinet = "public";
/* echo '<pre>';
print_r($user); */
?>

<ul class="statement_block container-prv">
<h1>Персональный блог</h1>   
    <ul class="k2UserBlockActions container notop">
		<table width="100%">
			<tbody>
				<tr>
					<td>
						<div style="width: 300px;">
							<a href="/component/k2/itemlist/user/<?=$user->id;?>" class="k2Avatar ubAvatar">
								<img style="width:100px;height:100px;" alt="avatar" src="/media/k2/users/<?=$user->image;?>">
							</a>
							<span class="ubName"><?=$user->name;?></span><br>
							<span class="ubCommentsCount">У вас <b>0</b> опубликованных комментариев</span>
						</div>
					</td>
					<td class="right">
						<li>
							<a href="/component/k2/item/add?tmpl=component" rel="{handler:'iframe',size:{x:990,y:550}}" class="modal">Добавить новый материл</a>
						</li>
						<li>
							<a href="/component/k2/itemlist/user/<?=$user->id;?>">Моя страница</a>
						</li>
						<li>
							<a href="/signin/user?task=edit">Моя учетная запись</a>
						</li>
						<li>
							<a href="/component/k2/comments?tmpl=component" rel="{handler:'iframe',size:{x:990,y:550}}" class="modal">Модерировать комментарии</a>
						</li>
					</td>
				</tr>
			</tbody>
		</table>
		
		
		
		
		
	</ul>


  <form method="post" action="index.php">
    <!--<input type="submit" value="Выход" class="button ubLogout" name="Submit">
    <input type="hidden" value="com_user" name="option">
    <input type="hidden" value="logout" name="task">
    <input type="hidden" value="L3NpZ25pbg==" name="return">
    <input type="hidden" value="1" name="9222c5520b1f0f2532aba47694903eba">-->  </form>
				
		
</ul>